<?php
define('OSW_UID','osw_uid');//
return array(
    /********** 系统相关配置 *********/
    'initTemplate' => APP_DIR . '/static/template',
    'showerror' => 0,
    'timezone' => 8,

    'charset' => 'utf-8',
    'default_page' => '/os',
    'sys' => array(
        'notice_pre_time' => 10,//消息提醒提前时间(单位:秒)
    ),
    /********** 数据库相关配置 *********/
    'db_config' => array(
        'database_type' => 'mysql',
        'username' => 'root',
        'password' => '123456',
        'port' => 3306,
        'charset' => 'utf8',
        'database_name' => 'pcms',
        'db_prefix' => 'ycus_',
        'option' => array(
            PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
            PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC
        )
    ),
    'error' => array(
        404 => 'static/error/404.html',
        403 => 'static/error/403.html',
        500 => 'static/error/50x.html'
    )

);